package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface UserRechargeRecordService {

	/**
	 * 创建充值记录
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response addUserRechargeRecord(Request request) throws Exception;

	/**
	 * 获取充值记录列表
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getUserRechargeRecordList(Request request) throws Exception;

	/**
	 * 支付中心回调
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response payCallback(Request request) throws Exception;

	/**
	 * 获取充值记录信息
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getUserRechargeRecordInfo(Request request) throws Exception;

	/**
	 * 更新充值记录
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response update(Request request) throws Exception;
	
	/**
	 * 退款消费记录
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response backConsume(Request request) throws Exception;
	
	/**
	 * 获取充值记录列表(财务调用)
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getUserRechargeRecordListByDate(Request request) throws Exception;
	
	/**
	 * 获取用户余额列表(财务调用)
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getUserRechargeBalanceList(Request request) throws Exception;
	/**
	 * 获取用户充值策略(财务调用)
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getUserRechargeStrategyList(Request request) throws Exception;
}